public class Student {
    public String name;
    public String identity;

    public Student() {
        this("Bruce","1939");
        System.out.println("不带参数的构造方法");
    }

    public Student(String name, String identity) {
        this.name = name;
        this.identity = identity;
    }
    public void Print(){
        System.out.println(this.identity+" "+this.name);
    }

    public static void main(String[] args) {
        Student student = new Student();
        student.Print();
    }
}
